package cn.wolfcode.shop.cloud.service;


import cn.wolfcode.shop.cloud.domain.OrderInfo;

public interface ISeckillOrderInfoService {

    String doSeckill(Long userId, Long seckillId);


    OrderInfo queryByorderNo(String orderNo);

    /**
     * 把订单状态改成超时未支付
     * @param orderNo
     * @param statusTimeout
     * @return
     */
    int changOrderInfoStatus(String orderNo, Integer statusTimeout);

    void changPayStatus(String out_trade_no, Integer status);
}
